package modelLayer;

import java.util.ArrayList;

public class UMLClass {
	private String name;
	private String packageName;
	private ArrayList<String> vars;
	private ArrayList<String> methods;
	
	public UMLClass(String name){
		this.name = name;
		vars = new ArrayList<String>();
		methods = new ArrayList<String>();
	}
	
	public void addVariable(String var){
		vars.add(var);
	}
	
	public void addMethod(String method){
		methods.add(method);
	}
	
	public void setPackage(String packageName){
		this.packageName = packageName;
	}

	public String getName() {
		return name;
	}

	public String getPackageName() {
		return packageName;
	}

	public ArrayList<String> getVars() {
		return vars;
	}

	public ArrayList<String> getMethods() {
		return methods;
	}
	
	
}
